package com.xh.lesson.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xh.lesson.entity.SysHouseFun;
import com.xh.lesson.vo.req.AllUpdateReqVo;
import com.xh.lesson.vo.req.HomeAddReqVO;
import com.xh.lesson.vo.req.HomeUpdateReqVo;
import com.xh.lesson.vo.resp.HomeInfo;
import com.xh.lesson.vo.resp.PageVO;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 柴&许
 * @since 2021-07-01
 */


public interface SysHouseFunService extends IService<SysHouseFun> {

    public List<AllUpdateReqVo> selectHomeById(Integer id);

    PageVO<HomeInfo> selectAll(HomeInfo vo);

    void UpdateHome(HomeUpdateReqVo vo);

    SysHouseFun addHome(HomeAddReqVO vo);

    void deleteHouseFun(Integer homeid);

    void deleteHouseFun(List<Integer> homeIds);
    SysHouseFun soloAddHome(HomeAddReqVO vo);


//    void UpdateAll(AllUpdateReqVo allUpdateReqVo);


}
